package com.example.demo.common.utills;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonResult<T> {
    private int code;
    private String mes;
    private T data;

    public CommonResult(int code,String mes){
        this.code=code;
        this.mes=mes;
    }
}
